wayland: Cache the discovery connection and reuse if possible
authorRob Bradford <rob@linux.intel.com>
Fri, 19 Apr 2013 12:59:58 +0000 (13:59 +0100)
committerRob Bradford <rob@linux.intel.com>
Fri, 19 Apr 2013 13:03:24 +0000 (14:03 +0100)
commit524ce7f88e26a498c43729f99fda564f5e222582
tree9d47d4477ffea003ce7a8f2f29ab04c56bf902e2
parent3df715a511572222316b2d682ca250c8ce232a04
wayland: Cache the discovery connection and reuse if possible

This will prevent us opening, closing and reopening the same display
connection in the majority of cases.

https://bugzilla.gnome.org/show_bug.cgi?id=694465
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplaymanager-wayland.c
gdk/wayland/gdkprivate-wayland.h